A Scheduling Technique Providing a Strict Isolation of Real-time Threads
نویسندگان
چکیده
Highly dynamic programming environments for embedded real-time systems require a strict isolation of real-time threads from each other to achieve dependable systems. We propose a new real-time scheduling technique, called guaranteed percentage (GP) scheme that assigns each thread a specific percentage of the processor power. A hardware scheduler in conjunction with a multithreaded processor guarantees the execution of instructions of each thread according to their assigned percentages within a time interval of 100 processor cycles. We compare performance and implementation overhead of GP scheduling against fixed priority preemptive (FPP), earliest deadline first (EDF), and least laxity first (LLF) scheduling using several benchmarks on our Komodo microcontroller that features a multithreaded Java processor kernel. Our evaluations show that GP scheduling reaches a speed-up similar to EDF and FPP but worse than LLF. However, its hardware implementation costs are still reasonable, whereas the LLF overhead is prohibitive. Only GP reaches the isolation goal among the examined scheduling schemes.
منابع مشابه
Scheduling-Context Capabilities
Mixed-criticality systems (MCS) combine real-time components of different levels of criticality – i.e. severity of failure – on the same processor, in order to obtain good resource utilisation. They must be able to guarantee deadlines of highly-critical threads without any dependence on less-critical threads. This requires strong temporal isolation, similar to the spatial isolation that is trad...
متن کاملProviding QoS by Scheduling Interrupt Threads
This WiP describes some preliminary results obtained when experimenting with the priorities of IRQ threads in a real-time version of the Linux kernel. IRQ threads allow to schedule interrupt handlers so that their interference on real-time activities can be controlled. However, the experiments presented in this paper indicate that fixed priority scheduling does not provide enough flexibility fo...
متن کاملExperience with Sporadic Server Scheduling in Linux: Theory vs. Practice
Real-time aperiodic server algorithms were originally devised to schedule the execution of threads that serve a stream of jobs whose arrival and execution times are not known a priori, in a way that supports schedulability analysis. Well-known examples of such algorithms include the periodic polling server, deferrable server, sporadic server, and constant bandwidth server. The primary goal of a...
متن کاملEnergy Management for Embedded Multithreaded Processors with Integrated EDF Scheduling
This paper proposes a new hardware-based energy management technique for future embedded multithreaded processors with integrated Earliest Deadline First (EDF) real-time scheduling. Our energy management technique controls frequency reduction and dynamic voltage scaling depending on the deadlines, the Worst Case Execution Times (WCET), and the real execution times. Hard real-time capability can...
متن کاملInterrupt Service Threads - A New Approach to Handle Multiple Hard Real-Time Events on a Multithreaded Microcontroller
We propose a new event handling mechanism based on a multithreaded microcontroller, that allows efficient handling of simultaneous overlapping events with hard realtime requirements. Real-time threads are used as interrupt service threads (ISTs) instead of interrupt service routines (ISRs). ISTs are executed on a multithreaded microcontroller that supports multiple concurrently executing ISTs. ...
متن کامل